package com.ruoyi.buy.domain.entity.PO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 请购单对象 buy_requestbuy_bill
 * 
 * @author ruoyi
 * @date 2024-06-13
 */
public class BuyRequestbuyBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 请购单编号 */
    @Excel(name = "请购单编号")
    private String vBillNo;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyBy;

    /** 经办人 */
    private String oprBy;

    /** 请购日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请购日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dRequest;

    /** 部门流水号 */
    @Excel(name = "部门流水号")
    private String vPartNo;

    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setvBillNo(String vBillNo) 
    {
        this.vBillNo = vBillNo;
    }

    public String getvBillNo() 
    {
        return vBillNo;
    }
    public void setApplyBy(String applyBy) 
    {
        this.applyBy = applyBy;
    }

    public String getApplyBy() 
    {
        return applyBy;
    }
    public void setOprBy(String oprBy) 
    {
        this.oprBy = oprBy;
    }

    public String getOprBy() 
    {
        return oprBy;
    }
    public void setdRequest(Date dRequest) 
    {
        this.dRequest = dRequest;
    }

    public Date getdRequest() 
    {
        return dRequest;
    }
    public void setvPartNo(String vPartNo) 
    {
        this.vPartNo = vPartNo;
    }

    public String getvPartNo() 
    {
        return vPartNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vBillNo", getvBillNo())
            .append("applyBy", getApplyBy())
            .append("oprBy", getOprBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("dRequest", getdRequest())
            .append("vPartNo", getvPartNo())
            .toString();
    }
}
